package com.linsen.core.web.config;

import com.linsen.core.common.annotation.AutoConfiguration;
import com.linsen.core.common.factory.YamlPropertySourceFactory;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.PropertySource;

/**
 * 统一异常处理配置
 * @author zhaoyong
 * @date 2023/3/13
 */
@AutoConfiguration
@ComponentScan(value="com.linsen.core.web.handler")
@PropertySource(factory = YamlPropertySourceFactory.class, value = "classpath:linsen-error.yml")
public class LinsenExceptionAutoConfiguration {

}
